package com.ruoyi.liangshi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.liangshi.domain.GdArchShift;
import com.ruoyi.liangshi.mapper.GdArchShiftMapper;
import com.ruoyi.liangshi.service.IGdArchShiftService;
import com.ruoyi.liangshi.vo.query.BiBsKscHourDataVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 门店开市信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-11-18
 */
@Service
public class GdArchShiftServiceImpl extends ServiceImpl<GdArchShiftMapper, GdArchShift>  implements IGdArchShiftService
{
    @Autowired
    private GdArchShiftMapper gdArchShiftMapper;


    /**
     * 查询门店开市信息
     * 
     * @param id 门店开市信息主键
     * @return 门店开市信息
     */
    @Override
    public GdArchShift selectGdArchShiftById(Long id)
    {
        return gdArchShiftMapper.selectGdArchShiftById(id);
    }

    /**
     * 查询门店开市信息列表
     * 
     * @param gdArchShift 门店开市信息
     * @return 门店开市信息
     */
    @Override
    public List<GdArchShift> selectGdArchShiftList(GdArchShift gdArchShift)
    {
        return gdArchShiftMapper.selectGdArchShiftList(gdArchShift);
    }

    /**
     * 新增门店开市信息
     * 
     * @param gdArchShift 门店开市信息
     * @return 结果
     */
    @Override
    public int insertGdArchShift(GdArchShift gdArchShift)
    {
        return gdArchShiftMapper.insertGdArchShift(gdArchShift);
    }

    /**
     * 修改门店开市信息
     * 
     * @param gdArchShift 门店开市信息
     * @return 结果
     */
    @Override
    public int updateGdArchShift(GdArchShift gdArchShift)
    {
        return gdArchShiftMapper.updateGdArchShift(gdArchShift);
    }

    /**
     * 批量删除门店开市信息
     * 
     * @param ids 需要删除的门店开市信息主键
     * @return 结果
     */
    @Override
    public int deleteGdArchShiftByIds(Long[] ids)
    {
        return gdArchShiftMapper.deleteGdArchShiftByIds(ids);
    }

    /**
     * 删除门店开市信息信息
     * 
     * @param id 门店开市信息主键
     * @return 结果
     */
    @Override
    public int deleteGdArchShiftById(Long id)
    {
        return gdArchShiftMapper.deleteGdArchShiftById(id);
    }
}
